home *** CD-ROM | disk | FTP | other *** search
/ Champak 103 / Vol 103.iso / games / starship.swf / scripts / DefineSprite_133 / frame_1 / DoAction.as
Text File  |  2010-03-13  |  398b  |  25 lines

  1. function init()
  2. {
  3.    var i = 1;
  4.    while(_root.cst.maxMonster >= i)
  5.    {
  6.       tellTarget("../monster_" + i)
  7.       {
  8.          _root.temp.monsterFrames = _totalframes;
  9.       }
  10.       if(Number(_root.temp.monsterFrames) == 0)
  11.       {
  12.          _name = "monster_" + i;
  13.          break;
  14.       }
  15.       i++;
  16.    }
  17.    gotoAndStop(1);
  18. }
  19. function hit()
  20. {
  21. }
  22. ready = true;
  23. stop();
  24. init();
  25.